image=imread("fig6.tif");
temp=im2double(image);
[h,w]=size(temp);
subplot(2,2,1),imshow(temp);
subplot(2,2,2),imhist(temp);
result=imadjust(temp,[0.2,0.6],[0,1]);
subplot(2,2,3),imshow(result);
subplot(2,2,4),imhist(result);



